//
//  GGNetWorkURLMatcher.h
//  QuickAskCommunity
//
//  Created by yuemei on 2018/2/6.
//  Copyright © 2018年 GG. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, GGURLPrefixType) {
    PrefixTypeNone = 0,
    PrefixTypeSJAPP,
    PrefixTypeUser,
    PrefixTypeSS,
    PrefixTypeMM,
    PrefixTypeWWW,
    PrefixTypeChat
};

@interface GGNetWorkURLMatcher : NSObject
//根据类型匹配BaseURL
+ (NSString *)URLMatchingWithType:(GGURLPrefixType)type;
//根据类型以及后缀返回完整URL
+ (NSString *)URLMatchingWithType:(GGURLPrefixType)type suffix:(NSString *)suffix;
//根据URL返回类型
+ (GGURLPrefixType)URLTypeMatchingWithURL:(NSString *)urlStr;

@end
